package cn.tsoft.vo;

import android.os.Parcel;
import android.os.Parcelable;

public class Buyer implements Parcelable{
	private String nick;
	private String type;
	private String credit_buyer;
	private String credit_seller;
	private String registTime;
	private String alww;
	
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCredit_buyer() {
		return credit_buyer;
	}
	public void setCredit_buyer(String credit_buyer) {
		this.credit_buyer = credit_buyer;
	}
	public String getCredit_seller() {
		return credit_seller;
	}
	public void setCredit_seller(String credit_seller) {
		this.credit_seller = credit_seller;
	}
	public String getRegistTime() {
		return registTime;
	}
	public void setRegistTime(String registTime) {
		this.registTime = registTime;
	}
	public String getAlww() {
		return alww;
	}
	public void setAlww(String alww) {
		this.alww = alww;
	}
	public static Parcelable.Creator<Buyer> getCreator() {
		return CREATOR;
	}
	public static final Parcelable.Creator<Buyer> CREATOR = new Creator<Buyer>() {   
        public Buyer createFromParcel(Parcel source) {   
        	Buyer buyer = new Buyer();   
        	buyer.type = source.readString();
        	buyer.credit_buyer = source.readString();
        	buyer.credit_seller = source.readString();
        	buyer.registTime = source.readString();
        	buyer.alww = source.readString();
            return buyer;   
        }   
        public Buyer[] newArray(int size) {   
            return new Buyer[size];   
        }   
    }; 
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(nick);
		dest.writeString(type);
		dest.writeString(credit_buyer);
		dest.writeString(credit_seller);
		dest.writeString(registTime);
		dest.writeString(alww);
	}
	
}
